package com.atguigu.srb.core.service;

import com.atguigu.srb.core.entity.LendItem;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 标的出借记录表 服务类
 * </p>
 *
 * @author Atguigu
 * @since 2023-06-30
 */
public interface LendItemService extends IService<LendItem> {

    String handleVest(String token, Long lendId, BigDecimal investAmount);

    String handleCallback(Map<String, Object> map);

    List<Long> getInvestorUserId(Long lendId, Integer status);
}
